package com.ruoyi.business.rest;

import com.ruoyi.business.shop.api.domain.ServiceDetails;
import com.ruoyi.common.core.web.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("ruoyi-business")
public interface ServiceDetailsRestService {
    @GetMapping(value = "/details/{id}")
    public AjaxResult getInfo(@PathVariable("id") Integer id);
}
